package com.neusoft.feign;

import com.neusoft.po.CommonResult;
import org.springframework.stereotype.Component;

@Component
public class FeignClientCallBack implements CreditFeignClient,WalletFeignClient{
    @Override
    public CommonResult<Integer> initCredit(String userId){
        return new CommonResult<>(403,"fegin触发了熔断降级",null);
    }
    @Override
    public  CommonResult<Integer> createWallet(String userId){
        return new CommonResult<>(403,"fegin触发了熔断降级",null);
    }
}
